package com.dinner.model;

public final class Consumer implements java.io.Serializable, DinnerUser {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7847875870377819581L;
	
	private String consumerID = null;
	private String password = null;
	
	public Consumer(){
		
	}
	
	public Consumer(String consumerID, String password) {
		this.consumerID = consumerID;
		this.password = password;
	}

	/**
	 * @return the consumerID
	 */
	public String getConsumerID() {
		return consumerID;
	}

	/**
	 * @param consumerID the consumerID to set
	 */
	public void setConsumerID(String consumerID) {
		this.consumerID = consumerID;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	@Override public String getUserID() {
		return getConsumerID();
	}
	
	
}
